package com.ihelin.insurance.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.math.BigDecimal;

/**
* 绩效
*
* @author iHelin ihelin@outlook.com
* @since 2021-02-28 10:30:49
*/
@TableName("t_performance")
public class PerformanceEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    * id
    */
    @TableId
    private Integer id;
    /**
    * 代理人id
    */
    private Integer agentId;
    /**
    * 代理人姓名
    */
    private String agentName;
    /**
    * 年月
    */
    private String time;
    /**
    * 绩效总得分
    */
    private BigDecimal totalScore;
    /**
    * 出勤天数
    */
    private Integer attendanceDays;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAgentId() {
        return agentId;
    }

    public void setAgentId(Integer agentId) {
        this.agentId = agentId;
    }

    public String getAgentName() {
        return agentName;
    }

    public void setAgentName(String agentName) {
        this.agentName = agentName;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public BigDecimal getTotalScore() {
        return totalScore;
    }

    public void setTotalScore(BigDecimal totalScore) {
        this.totalScore = totalScore;
    }

    public Integer getAttendanceDays() {
        return attendanceDays;
    }

    public void setAttendanceDays(Integer attendanceDays) {
        this.attendanceDays = attendanceDays;
    }

    @Override
    public String toString() {
        return "PerformanceEntity{" +
        "id='" + id + '\'' +
        "agentId='" + agentId + '\'' +
        "agentName='" + agentName + '\'' +
        "time='" + time + '\'' +
        "totalScore='" + totalScore + '\'' +
        "attendanceDays='" + attendanceDays + '\'' +
        '}';
    }

}
